﻿<div class="blade-content">
    <div class="blade-inner">
        <div class="inner-block clearfix">
            <ul class="list __items">
                <li class="list-item" ng-repeat="data in objects track by data.id" ng-class="{'__selected': data.id === selectedNodeId}" ng-click='selectNode(data)' context-menu data-target="cl_menu{{$index}}">
                    <i class="list-ico fa" ng-class="data.virtual ? 'fa-cloud' : 'fa-folder'"></i>
                    <span class="list-name">{{data.name + (data.virtual ? ' (virtual)' : '')}}</span>
                    <ul class="menu __context" role="menu" id="cl_menu{{$index}}">
                        <li class="menu-item" ng-click='editCatalog(data)' va-permission="catalog:read" security-scopes="data.securityScopes">
                            <i class="menu-ico fa fa-edit"></i> Manage
                        </li>
                    </ul>
                </li>
            </ul>
            <div class="note" ng-if="objects.length == 0">
                No data
            </div>
        </div>
    </div>
</div>